package engine.audio;

/**
 * Oscillator_I
 * Interface for an oscillator, or, raw audio data generator.
 **/
public interface Oscillator_I {
	/**
	 * Generates a given number of samples into a buffer.
	 * @param buffer - the buffer to append generated samples into.
	 * @param sampleCount - the number of samples to generate.
	 * @return The number of samples generated
	 **/
	int generate(AudioBuffer_I buffer, int sampleCount);
}
